Management API

Base Resource URL:

     https://[server-name]/api/v01/merchants/[merchant-code]/pre-rules

Description:

Returns a set of pre-rules to validate billing address, issuing bank country, card type.

Available sub-resources:

Resource URL Description
https://[server-name]/api/v01/merchants/[merchant-code]/pre-rules/[rule-id]    Pre-Rule to validate billing address, issuing bank countries, card type.

Supported Actions:

copyFrom  
Method:  GET       Implicit:  No       Returns:  ServiceResponse      
Consumes:  json, xml, xurl  Produces:  json, xml, xurl 
 
Copies the list of all available rules between selected merchants.


copyTo  
Method:  GET       Implicit:  No       Returns:  ServiceResponse      
Consumes:  json, xml, xurl  Produces:  json, xml, xurl 
 
Copies the list of all available rules between selected merchants.


create  
Method:  POST       Implicit:  Yes       Returns:  PreRule      
Consumes:  json, xml, xurl  Produces:  json, xml, xurl 
 
Creates a new rule.


find  
Method:  GET       Implicit:  Yes       Returns:  n/a      
Consumes:  json, xml, xurl  Produces:  json, xml, xurl 
 
Finds all pre-rules defined for the merchant.

Parameters:
# Name Type Required Default Description
01 offset Integer No 0 Index of the first record returned to the customer from the search result of a web search.
02 limit Integer No 100 Maximum number of records to load per single search web call made by the customer.


modify  
Method:  POST       Implicit:  Yes       Returns:  PreRule      
Consumes:  json, xml, xurl  Produces:  json, xml, xurl 
 
Allows to modify the pre-rule for the merchant.
The used have to send the ID of the pre-rule and fields that are to be changed in the request.


priority  
Method:  POST       Implicit:  Yes       Returns:  PreRule      
Consumes:  json, xml, xurl  Produces:  json, xml, xurl 
 
Allows to change the execution priority of the pre-rule.

Parameters:
# Name Type Required Default Description
01 value String Yes - Parameter can take one of the following values:
highest - assignes a highest priority to the rule
lowest - assignes a lowest priority to the rule
+N - increases priority of the rule by N, where N is an integer value
-N - decreases priority of the rule by N, where N is an integer value